//
//  BaseViewController.h
//  HappyRent
//
//  Created by CoderYee on 2017/3/28.
//  Copyright © 2017年 内圈科技. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BaseViewController : UIViewController

//子类添加控件
-(void)addOwnViews;
//子类控件属性值配置
-(void)configOwnViews;
//添加导航栏设置
-(void)addNavbarView;
//RAC绑定事件
-(void)bindViewModel;

//设置导航栏左右按钮点击事件
//这里只处理单个nav,多个按钮事件需要自行处理
- (void)configNavigationBarWithLeftButtonTitle:(NSString *)leftTitle rightTitle:(NSString *)rightTitle;

- (void)configNavigationBarLeftTitle:(NSString *)leftTitle;
- (void)configNavigationBarLeftImage:(NSString *)leftImageString;

- (void)configNavigationBarRightTitle:(NSString *)rightTitle;
- (void)configNavigationBarRightImage:(NSString *)rightImageString;

- (void)navigationBarLeftButtonTapped: (UIButton *)sender;
- (void)navigationBarRightButtonTapped:(UIButton *)sender;

@end
